<%@ page session="false" contentType="text/html; charset=utf-8" pageEncoding="utf-8" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>    

<html>
	<head>
		<title><fmt:message key="result.title"/></title>
    	<link rel="stylesheet" type="text/css"  href="css/common.css" />


    <!--[if lt IE 5.5000]><style type="text/css">@import "css/IE50Fixes.css"; @import "css css/skinIE55Fixes.css";</style><![endif]-->
    <!--[if IE 5.5000]><style type="text/css">@import "css/IE55Fixes.css"; @import "css/skinIE55Fixes.css";</style><![endif]-->
    <!--[if gte IE 6]><style type="text/css">@import "css/IE60Fixes.css"; @import "css/skinIE60Fixes.css";</style><![endif]-->
<script type="text/javascript" src="http://partner.googleadservices.com/gampad/google_service.js">
</script>
<script type="text/javascript">
  GS_googleAddAdSenseService("ca-pub-4210362751776017");
  GS_googleEnableAllServices();
</script>
<script type="text/javascript">
  GA_googleAddSlot("ca-pub-4210362751776017", "BannerTop540x100");
</script>
<script type="text/javascript">
  GA_googleFetchAds();
</script>    
	</head>




	<body class="ns-0">
<!-- PUT THIS TAG IN DESIRED LOCATION OF SLOT BannerTop540x100
     -->
<script type="text/javascript">
  GA_googleFillSlot("BannerTop540x100");
</script>
<!-- END OF TAG FOR SLOT BannerTop540x100
     -->
             <div id="globalWrapper">
      <div class="bar">&nbsp;</div>
        <div id="content">
		<h1 class="firstHeading"><fmt:message key="form.welcome"/></h1>
        <div id="column-content">
	<div id="bodyContent">
	    <div id="contentSub"></div>
	
	    	<div style="border: 1px solid #6eb927; padding: .7em; background-color:#ecf2e6; margin-top: 0;">
		</div>
				<div id="errors"><ul></ul></div>
		
		<table id="main" style="border: 1px solid #aaa; margin: 0; padding: 0; width: 100%;">
			<tr>
				<td style="vertical-align:top; width: 70%; padding-right: .6em;">
					<div class="hp_box">
					<table>	
						<tr>
						</tr>
						<tr>
							<td colspan="2"  style="padding: 10pt"><label>El id del grupo es=${out.id}</label></td>
						</tr>
					  	<tr>
					  		<td style="text-align: center;">Id</td>
					  		<td style="text-align: center;">Nombre</td>
					  		<td style="text-align: center;">Amigo</td>
					  		<td style="text-align: center;">Nuevo Email</td>
					  	</tr>
						<c:forEach var="amigo" items="${out.amigos}">
						  	<tr>
						  		<form method="post" action="reenvia.htm">
							  		<td style="text-align: center;">${amigo.bdid}</td>
							  		<td style="text-align: center;">${amigo.name}</td>
							  		<td style="text-align: center;">${amigo.amigo}</td>
							  		<input type="hidden" name="bdid" id="bdid" value="${amigo.bdid}"/>
							  		<input type="hidden" name="name" id="name" value="${amigo.name}"/>
							  		<input type="hidden" name="amigo" id="amigo" value="${amigo.amigo}"/>
							  		<input type="hidden" name="grupo" id="grupo" value="${out.id}"/>
							  		<td style="text-align: center;"><input type="text" name="email" id="email"/></td>
							  		<td style="text-align: center;"><input type="submit" value="enviar"/></td>
							  	</form>
						  	</tr>
						</c:forEach>
					</table>
				</td>
			</tr>
			
		</table>
			
		<%@ include file="footer.jsp" %>
		
			</div>
			</div>
			</div>
			</div>
    <script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
    </script>
    <script type="text/javascript">
    _uacct = "UA-1906268-1";
    urchinTracker();
</script>
	</body>
</html>